Skip to content

goreleaser: use cask install_steps instead of deprecated install hook - #68

Merged
DTTerastar merged 2 commits into
mainfrom
fix/goreleaser-cask-steps
Nov 6, 2026
Merged

DTTerastar merged 2 commits into
mainfrom
fix/goreleaser-cask-steps

Conversation

@DTTerastar

Copy link
Copy Markdown
Collaborator

GoReleaser v2.19+ emits Homebrew's postflight_steps stanza only from hooks.post.install_steps. The old install hook still generates the deprecated postflight stanza, which prints a warning on every brew command for anyone with the tap installed.

Same change as the hand-fix in quantcli/homebrew-tap, made permanent at the source.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CP5PymEM8y5ik8S89BbSwD

GoReleaser v2.19+ emits Homebrew's postflight_steps stanza only from
hooks.post.install_steps; the old install hook still generates the
deprecated postflight stanza, which warns on every brew command.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CP5PymEM8y5ik8S89BbSwD
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Try this PR without building it

Review binaries for commit 1ba904c — direct download, no login required:

Platform Download
macOS (Intel) liftoff-export-darwin-amd64.zip
macOS (Apple silicon) liftoff-export-darwin-arm64.zip
Linux x86_64 liftoff-export-linux-amd64.zip
Linux arm64 liftoff-export-linux-arm64.zip
Windows x86_64 liftoff-export-windows-amd64.zip

Unzip, then on macOS/Linux chmod +x the binary before running. macOS Gatekeeper blocks unsigned binaries on first run — right-click → Open, or xattr -d com.apple.quarantine <file>.

Links are resolved by nightly.link, a third-party redirector for GitHub Actions artifacts, because GitHub has no anonymous artifact URL of its own. Signed-in users can also browse the run directly. Artifacts expire 14 days after the run. Updated on each push to this PR.

@DTTerastar
DTTerastar enabled auto-merge (squash) November 6, 2026 15:57
@DTTerastar
DTTerastar merged commit 0004c84 into main Nov 6, 2026
12 checks passed
@DTTerastar
DTTerastar deleted the fix/goreleaser-cask-steps branch November 6, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant